<?php


use App\User;
use Illuminate\Database\Seeder;

class UserSeeder extends Seeder
{

    /**
     *
     */
    public function run()
    {
        $users = factory(User::class,30)->create();
        $user = $users[0];
        $user->name = 'wkk';
        $user->nickname = '老王';
        $user->email = '814489173@qq.com';
        $user->save();
    }

}
